package com.charging.system.domain;

import java.math.BigDecimal;

import com.charging.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.charging.common.annotation.Excel;

/**
 * 充值规则对象 kx_recharge_scheme
 *
 * @author charging
 * @date 2024-04-19
 */
public class KxRechargeScheme extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 充值规则ID */
    private Long rechargeSchemeId;

    /** 充值方案名称 */
    @Excel(name = "充值方案名称")
    private String rechargeName;

    /** 账户押金 */
    @Excel(name = "账户押金")
    private BigDecimal deposit;

    /** 注册赠送 */
    @Excel(name = "注册赠送")
    private BigDecimal registerGive;

    /** 是否允许自定义金额 */
    @Excel(name = "是否允许自定义金额")
    private Integer isFreePrice;

    /** 是否启用充值赠送 */
    @Excel(name = "是否启用充值赠送")
    private Integer isGive;

    /** 方案详细 */
    @Excel(name = "方案详细")
    private String schemeDetailed;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setRechargeSchemeId(Long rechargeSchemeId)
    {
        this.rechargeSchemeId = rechargeSchemeId;
    }

    public Long getRechargeSchemeId()
    {
        return rechargeSchemeId;
    }
    public void setRechargeName(String rechargeName)
    {
        this.rechargeName = rechargeName;
    }

    public String getRechargeName()
    {
        return rechargeName;
    }
    public void setDeposit(BigDecimal deposit)
    {
        this.deposit = deposit;
    }

    public BigDecimal getDeposit()
    {
        return deposit;
    }
    public void setRegisterGive(BigDecimal registerGive)
    {
        this.registerGive = registerGive;
    }

    public BigDecimal getRegisterGive()
    {
        return registerGive;
    }
    public void setIsFreePrice(Integer isFreePrice)
    {
        this.isFreePrice = isFreePrice;
    }

    public Integer getIsFreePrice()
    {
        return isFreePrice;
    }
    public void setIsGive(Integer isGive)
    {
        this.isGive = isGive;
    }

    public Integer getIsGive()
    {
        return isGive;
    }
    public void setSchemeDetailed(String schemeDetailed)
    {
        this.schemeDetailed = schemeDetailed;
    }

    public String getSchemeDetailed()
    {
        return schemeDetailed;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rechargeSchemeId", getRechargeSchemeId())
            .append("rechargeName", getRechargeName())
            .append("deposit", getDeposit())
            .append("registerGive", getRegisterGive())
            .append("isFreePrice", getIsFreePrice())
            .append("isGive", getIsGive())
            .append("schemeDetailed", getSchemeDetailed())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
